package nl.utwente.fmt.vertalerbouw.tarrh.encoder;

import org.objectweb.asm.Label;

/**
 * Class to hold all labels related to the while do statement in the encoder.
 */
public class WhileDoLabels {
	private final Label conditionLabel = new Label();
	private final Label endLabel = new Label();

	/**
	 * Get the label pointing to the condition part of the while do statement.
	 * 
	 * @return the condition label.
	 */
	public Label getConditionLabel() {
		return conditionLabel;
	}

	/**
	 * Get the label pointing to the end of the while do statement.
	 * 
	 * @return the end label.
	 */
	public Label getEndLabel() {
		return endLabel;
	}
}
